package com.my.zl.console.entity.online;

import java.time.Instant;

import lombok.Getter;
import lombok.Setter;

/**
 * ZL_DATABASE_SQL 数据库SQL模板表
 * 表字段
 * @author ZL
 */
@Getter
@Setter
public class ZlDatabaseSql implements java.io.Serializable {

    /** default Serial Version UID*/
    private static final long serialVersionUID = 1L;
    
    /** 主键ID.  */
    private String sqlId;
    
    /** 数据库主键ID.  */
    private String databaseId;
    
    /** 表CODE.  */
    private String tableCode;
    
    /** 标题.  */
    private String sqlTitle;
    
    /** SQL模板.  */
    private String sqlTemplates;
    
    /** SQL参数说明.  */
    private String sqlParams;
    
    /** 备注.  */
    private String remarks;
    
    /** 排序.  */
    private Long orderNum;
    
    /** 状态.  */
    private String dataStatus;
    
    /** 创建操作员.  */
    private String createOprid;
    
    /** 创建操作员姓名.  */
    private String createName;
    
    /** 创建时间.  */
    private Instant createTm;
    
    /** 更新操作员.  */
    private String lastUpdOprid;
    
    /** 更新操作员姓名.  */
    private String lastUpdName;
    
    /** 更新时间.  */
    private Instant lastUpdTm;
    
    
    public ZlDatabaseSql() {}
    
    public ZlDatabaseSql(String sqlId) {
        this.sqlId = sqlId;
    }
    
}